body {
    margin-left: 10px;
    margin-right: 10px;
    background: #E3FDF5;
    background: linear-gradient(to top,#E3FDF5,#FFE6FA);
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 5px;
}
.job-1, .job-2, .job-3 ,.job-4{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title date"
        "details details";
    margin-left: 10px;
    grid-gap: 0;
}
.education {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
    "education education"
    "education-details education-details";
}
.title {
    grid-area: title;
    font-weight: bolder;
    font-size: 18px;
}
.date {
    grid-area: date;
    font-weight: bolder;
    font-size: 18px;
}
.details {
    grid-area: details;
}
.education {
    grid-area: education;
}
.education-details {
    grid-area: education-details;
}

header {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    position: relative;
    height: 150px;
    flex-wrap: wrap;
    border: 3px solid black;
    text-align: center;
    border-image: linear-gradient(to top, deeppink, rgb(105, 145, 230)) 1 100%;

}
h1 {
    text-align: center;
}
 h4 {
    top: 50%;
    left: 50%;
    height: auto;
    padding: 8px;
}
.about-me {
    text-align: center;
    padding-bottom: 10px;
    border: 1px solid black;
    border-image: linear-gradient(to top,#E3FDF5,#FFE6FA);
}
.education {
    margin-left: 10px;
}
.work-exp {
    text-align: center;
    padding-top: 10px;
}
.main-img {
    width: 50%;
    height: 50%;
    border: 4px solid black;
    border-radius: 50%;
    border-image: linear-gradient(to bottom, deeppink,rgba(0, 0, 0, 0)) 1 100%;
}
.border-div {
    border: 5px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, #743ad5, #d53a9d);
    padding: 30px;
}

@media Screen and (width < 650px) {
    .job-1, .job-2, .job-3 ,.job-4{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
        "title"
        "date"
        "details";
        grid-gap: 0;
    }
    body {
        padding: 10px;
        text-align: left;
    }
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 150px;
        position: relative;
        flex-wrap: wrap-reverse;
    }
    .name {
        position: absolute;
    }
    .city, .number {
        padding-top: 100px;
    }
    .border-div {
        border: 5px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(to left, #c295ff, #ff9cda);
        padding: 30px;
    }
    .main-img {
        border: 4px solid black;
        border-radius: 50%;
        border-image: linear-gradient(to bottom, #5e4cff,rgba(0, 0, 0, 0)) 1 100%;
    }

}
@media screen and (width < 500px) {
    header {
        display: flex;
        height: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: auto;
        flex-wrap: wrap-reverse;
        padding-left: 15px;

    }
    .city, .number {
        padding-top: 100px;
    }
    h1 {
        font-size: 20px;
    }
    h4 {
        font-size: 15px;
    }
    body {
        margin: 5px;
        padding-top: 5px;
    }
    .work-exp {
        text-align: left;
    }
    .about-me {
        text-align: left;
        padding-top: 10px;
    }
    .border-div {
        border: 5px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(to left, #520891, #ff009a);
        padding: 30px;

    }
    .main-img {
        border: 4px solid black;
        border-radius: 50%;
        border-image: linear-gradient(to bottom, #47d7ea,rgba(0, 0, 0, 0)) 1 100%;
    }

}

